/**
* Copyright @ 2023 iAuto (Shanghai) Co., Ltd.
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are NOT permitted except as agreed by
* iAuto (Shanghai) Co., Ltd.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/


.ServiceManage {
  :global {

    .ant-badge-multiple-words {
      right: -20px !important;
    }
    
    // font-family: PingFangSC-Regular;
    .search-form {
      .ant-form-inline .ant-form-item {
        width: 25%;
        max-width: 245px;

        &:first-child {
          width: 16%;
        }
      }
    }

    .ant-table-thead>tr>th:first-child::before {
      content: none !important;
    }

    .ant-form-inline .ant-form-item>.ant-form-item-label,
    .ant-form-inline .ant-form-item>.ant-form-item-control {
      display: flex;
      align-items: center;
    }

    .ant-form-inline .ant-form-item>.ant-form-item-control .ant-form-item-control-input {
      height: 100%;
      width: 100%;
    }

    .ant-form-inline .ant-form-item>.ant-form-item-control {
      width: calc(100% - 42px);
    }

    // .ant-form {

    //   .ant-input-affix-wrapper,
    //   .ant-select-selector {
    //     border-radius: 5px;
    //   }

    //   .ant-btn[disabled],
    //   .ant-btn[disabled]:hover,
    //   .ant-btn[disabled]:focus,
    //   .ant-btn[disabled]:active {
    //     background-color: #fff;
    //     color: #9fa0a2;
    //   }

    //   .ant-btn {
    //     width: 80px;
    //     height: 40px;
    //     border-radius: 5px;

    //     &:not(.ant-btn-default):not([disabled]) {
    //       background-color: #3569fd;
    //     }
    //   }
    // }

    // .ant-table-cell .ant-btn-link {
    //   background: #FFFFFF;
    //   border: 1px solid #3569FD;
    //   border-radius: 3px;
    //   font-size: 12px;
    //   color: #3569FD;
    //   letter-spacing: 0;
    //   text-align: center;
    //   font-weight: 400;
    //   padding: 0 12px;
    //   // margin: 10px 0;
    //   height: 24px;
    // }
  }
}

.UnpublishedService {
  :global {
    .ant-table-thead>tr>th:nth-child(2)::before {
      content: none !important;
    }

    .ant-table-tbody>tr {

      // 默认
      &.style-false>td {
        color: #000
      }

      // 变
      &.style-isChange>td {
        color: #ff7918
      }

      // 删
      &.style-isDelete>td {
        color: #9fa0a2
      }

      // 新
      &.style-isNew>td {
        color: #00a870
      }
    }

    .ant-form-item-label>label {
      align-items: flex-end;
    }
  }
}

// 修改table下查看按钮样式
.container,
.UnpublishedService {
  :global {
    .ant-btn-link {
      display: flex;
      justify-content: center;
      align-items: center;
      color: #3569FD;
      border-color: #3569FD;
      background: #fff;
      width: 48px;
      height: 24px;
    }

    .ant-table .ant-table-expanded-row-fixed {
      margin: 0 -16px;
    }

    .ant-table .ant-table-container::before,
    .ant-table .ant-table-container::after {
      width: 0;
    }
  }
}

.extraBtn {
  display: flex;
  width: 235px;
  margin: 0 auto;
  .extraBtnItem {
    width: 110px;
    font-size: 16px;
    color: #00b4e1;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
  }
}

.importModal {
  
}